package com.fu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fu.domain.Book;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface BookDao extends BaseMapper<Book> {

    //测试例子
    //@Select("select * from tbl_book where id = #{id}")
    //Book getById(Integer id);
}
